/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package stuff;

import java.util.LinkedList;
import java.util.List;
import org.springframework.stereotype.Repository;

/**
 *
 * @author Николай
 */
@Repository             
public class MockDictionaryManager implements DictionaryManager {

    @Override
    public void addCoutntries(List<String> cntrs) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public List<Country> getCountries() {
        List<Country> c = new LinkedList<Country>();
        c.add(new Country(1, "Russia"));
        c.add(new Country(2, "US"));
        return c;
    }

    @Override
    public Country getCountry(String text) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

}
